﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IMT
{
    /// <summary>
    /// Author: Elliott Perry 01/09/2011
    /// 
    /// STATIC
    /// 
    /// This class stores the path's for the application
    /// </summary>
    static class GlobalData
    {

        
        /// <summary>
        /// The Root path for all files
        /// </summary>
        public static string rootPath { get; set; }


        /// <summary>
        /// The part for the XML messages to be saved
        /// </summary>
        public static string XMLMsgPath
        {
            get
            {
                string path = rootPath + @"\Messages\";


                return path;
            }

            set
            {


            }
        }

        /// <summary>
        /// The input folder which is watched for data coming from IBS
        /// </summary>
        public static string InputPath
        {
            get
            {
                string path = rootPath + @"\Input\";

                return path;
            }

            set
            {

            }
        }
        
        /// <summary>
        /// The path for the log file , once created
        /// </summary>
        public static string LogPath { get; set; }


        /// <summary>
        /// The string for delimiting
        /// </summary>
        public static string MessageDelimiter
        {
            get
            {
                return @",";
            }

            set
            {

            }
        }

        /// <summary>
        /// The Ascii code for delimiting, This should be same as MessageDelimiter
        /// </summary>
        public static int MessageDelimiterASCII
        {
            get
            {
                return 44;
            }
            set
            {

            }
        }

        
    }
}
